package com.orphan.audit.service.impl;

import com.orphan.audit.po.UserreturnCommodity;
import com.orphan.audit.dao.UserreturnCommodityMapper;
import com.orphan.audit.service.IUserreturnCommodityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yichen
 * @since 2021-07-14
 */
@Service
public class UserreturnCommodityServiceImpl extends ServiceImpl<UserreturnCommodityMapper, UserreturnCommodity> implements IUserreturnCommodityService {
    @Resource
    private UserreturnCommodityMapper userreturnCommodityMapper;
    @Override
    public List<UserreturnCommodity> getAll() {
        return userreturnCommodityMapper.getAll();
    }


//    @RabbitListener(queues = "queueOrderReturn")
//    public void getOrderReturnMQ(OrderReturn orderReturn){
//        System.out.println("===========================");
//        System.out.println("orderReturn  = " + orderReturn);}

}
